package picture;

public class TestPainter {

	public static void main(String[] args) {
		Painter p = new Painter();
		p.name = "photoshop cs6";
		Triangle t1 = new Triangle("三角形", 4, 3, 5);
		Circle c = new Circle("地球", 30000.65);
		p.paint(t1);
		p.paint(c);
	}

}
